echo "请输入sudo密码"

sudo nginx -s quit

echo "服务关闭成功"